package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import org.jeecgframework.poi.excel.annotation.Excel;

@TableName("ve_site_templet")
@ApiModel(value = "ve_site_templet对象", description = "网站模板")
public class VeSiteTemplet implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "模板名称", width = 15.0D)
    @ApiModelProperty("模板名称")
    private String name;
    @Excel(name = "模板编号（文件夹）", width = 15.0D)
    @ApiModelProperty("模板编号（文件夹）")
    private String number;
    @Excel(name = "是否启用1启用 0 禁用", width = 15.0D)
    @ApiModelProperty("是否启用1启用 0 禁用")
    private Integer status;

    public org.edu.modules.portal.entity.VeSiteTemplet setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "参数", width = 15.0D)
    @ApiModelProperty("参数")
    private String param;
    @Excel(name = "模板类型Id", width = 15.0D)
    @ApiModelProperty("模板类型Id")
    private Integer typeid;
    @Excel(name = "是否系统默认0否1是", width = 15.0D)
    @ApiModelProperty("是否系统默认0否1是")
    private Integer isdefault;
    @Excel(name = "站点对应的模型代码：portal=主站点，department=专业站点,xmportal=专业建设项目", width = 15.0D)
    @ApiModelProperty("站点对应的模型代码：portal=主站点，department=专业站点,xmportal=专业建设项目")
    private String rowmodel;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeSiteTemplet setName(String name) {
        this.name = name;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setNumber(String number) {
        this.number = number;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setParam(String param) {
        this.param = param;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setTypeid(Integer typeid) {
        this.typeid = typeid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setRowmodel(String rowmodel) {
        this.rowmodel = rowmodel;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteTemplet setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSiteTemplet(id=" + getId() + ", name=" + getName() + ", number=" + getNumber() + ", status=" + getStatus() + ", param=" + getParam() + ", typeid=" + getTypeid() + ", isdefault=" + getIsdefault() + ", rowmodel=" + getRowmodel() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeSiteTemplet)) return false;
        org.edu.modules.portal.entity.VeSiteTemplet other = (org.edu.modules.portal.entity.VeSiteTemplet) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$status = getStatus(), other$status = other.getStatus();
        if ((this$status == null) ? (other$status != null) : !this$status.equals(other$status)) return false;
        Object this$typeid = getTypeid(), other$typeid = other.getTypeid();
        if ((this$typeid == null) ? (other$typeid != null) : !this$typeid.equals(other$typeid)) return false;
        Object this$isdefault = getIsdefault(), other$isdefault = other.getIsdefault();
        if ((this$isdefault == null) ? (other$isdefault != null) : !this$isdefault.equals(other$isdefault))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false;
        Object this$number = getNumber(), other$number = other.getNumber();
        if ((this$number == null) ? (other$number != null) : !this$number.equals(other$number)) return false;
        Object this$param = getParam(), other$param = other.getParam();
        if ((this$param == null) ? (other$param != null) : !this$param.equals(other$param)) return false;
        Object this$rowmodel = getRowmodel(), other$rowmodel = other.getRowmodel();
        return !((this$rowmodel == null) ? (other$rowmodel != null) : !this$rowmodel.equals(other$rowmodel));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeSiteTemplet;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $status = getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        Object $typeid = getTypeid();
        result = result * 59 + (($typeid == null) ? 43 : $typeid.hashCode());
        Object $isdefault = getIsdefault();
        result = result * 59 + (($isdefault == null) ? 43 : $isdefault.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $number = getNumber();
        result = result * 59 + (($number == null) ? 43 : $number.hashCode());
        Object $param = getParam();
        result = result * 59 + (($param == null) ? 43 : $param.hashCode());
        Object $rowmodel = getRowmodel();
        return result * 59 + (($rowmodel == null) ? 43 : $rowmodel.hashCode());
    }


    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getNumber() {
        return this.number;
    }

    public Integer getStatus() {
        return this.status;
    }

    public String getParam() {
        return this.param;
    }

    public Integer getTypeid() {
        return this.typeid;
    }

    public Integer getIsdefault() {
        return this.isdefault;
    }

    public String getRowmodel() {
        return this.rowmodel;
    }

    public Integer getPlaceId() {
        return this.placeId;
    }
}


